Scripts - Date

Purpose
This script will display the day, month, date and year on your web page like this:

Instructions
Copy and paste the following coding in your HTML where you want the date to be displayed.

<SCRIPT language=JavaScript>
// -- made by A1javascripts.com, please keep these credits when using this script
days = new Array(7)
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday";
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
months = new Array(12)
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
today = new Date(); day = days[today.getDay() + 1]
month = months[today.getMonth() + 1]
date = today.getDate()
year=today.getYear();
if (year < 2000)
year = year + 1900;
document.write ("<font size=1 face='Arial,Sans-serif' color=#000000> "+ day + ", " + month + " " + date + ", " + year + "</font>")
// -- end hiding
</SCRIPT>



Hosted By: ISPrime... The Ultimate Hosting Company!
© 2000-2007 Adult Webmaster World. All Rights Reserved.